// 主题
@t-form-checkbox-bgc: #fff;
@t-form-checkbox-active-bgc: #e14c46;
@t-form-checkbox-active-c: #fff;
@t-tree-item-active-c: #e14c46;
@t-tree-item-c: #212121;
@t-tree-item-active-bgc: #e4e4e4;
@t-tree-item-focused-bgc: #ebecf0;
@t-tree-sich-c: #757f8c;
@t-area-bgc: transparent;
// @import "../../public/standardStyle/theme.less";
.tranfser-main{
    .tree-hotkeys-wrapper {
        outline: none;
        .u-tree {
            outline: none;
        }
        // 解决ie下  出现滚动条的问题
        display: inline-block;
        // overflow: auto;
    }

    .nc-tree.u-tree {
        background-color: transparent;
    }

    // 调整树的checkbox选中样式

    .nc-tree.u-tree .u-tree-checkbox-inner {
        width: 14px;
        height: 14px;
        background-color: @t-form-checkbox-bgc;
    }

    .nc-tree.u-tree {
        // .u-tree-switcher {
        //     color: #757f8c;
        // }
        li span.u-tree-switcher.u-tree-roots_open:after,
        li span.u-tree-switcher.u-tree-center_open:after,
        li span.u-tree-switcher.u-tree-bottom_open:after,
        li span.u-tree-switcher.u-tree-noline_open:after {
            color: @t-tree-sich-c;
        }

        li span.u-tree-switcher.u-tree-roots_close:after,
        li span.u-tree-switcher.u-tree-center_close:after,
        li span.u-tree-switcher.u-tree-bottom_close:after,
        li span.u-tree-switcher.u-tree-noline_close:after {
            color: @t-tree-sich-c;
        }
        li a {
            color: @t-tree-item-c;
        }

        li.u-tree-treenode-focused {
            a:focus {
                outline: none;
                .refer-tree-title {
                    border-color: transparent;
                }
            }
        }
        li a:hover {
            background-color: @t-tree-item-active-bgc;
            color: @t-tree-item-active-c;
        }
        li a.u-tree-node-selected,
        li a.u-tree-node-selected.u-tree-node-content-wrapper,
        li a.u-tree-node-selected .u-tree-title {
            background-color: @t-tree-item-active-bgc;
            color: @t-tree-item-active-c;
        }

        li.u-tree-treenode-focused > a {
            background-color: @t-tree-item-focused-bgc;
        }

        .node_right_opt {
            background-color: @t-tree-item-active-bgc;
        }
    }

    .nc-tree.u-tree
        .u-tree-checkbox-checked
        + .u-tree-node-content-wrapper
        .title-middle {
        color: @t-tree-item-active-c;
    }

    .nc-tree.u-tree .u-tree-checkbox-checked .u-tree-checkbox-inner {
        background: @t-form-checkbox-active-bgc;
        border-color: @t-form-checkbox-active-bgc;
        // background-color: @t-form-checkbox-active-c;
    }

    .nc-tree.u-tree .u-tree-checkbox-checked .u-tree-checkbox-inner:after {
        border: 2px solid @t-form-checkbox-active-c;
        border-top: 0;
        border-left: 0;
    }
}
